<?
/*
	header('Content-Type: text/html; charset=utf-8');
	
	require_once  $_SERVER['DOCUMENT_ROOT']."/../_lib/base/common.php";
	
	$sql = "SELECT tree_id, description  FROM `hotels` WHERE `description` LIKE '%Please note: some facilities are payable locally%'";
	
	$result = mysql_query($sql) or die (mysql_error());
	$num_rows = mysql_num_rows($result);
	

	$values_array = array();
	while($row = mysql_fetch_array($result, MYSQL_BOTH)) {
		$values_array[] = array_map('array_stripslashes', $row);
	}
	$i=0;
	foreach($values_array as $value){
	if($i==100)die();
		$new_desc = str_replace(chr(10)."Please note: Some facilities are payable locally", "", $value['description']);		
		$sql = "UPDATE `hotels` SET description = '".in($new_desc)."' WHERE tree_id = '".$value['tree_id']."' ";
		$result = mysql_query($sql) or die (mysql_error());
		echo $value['tree_id'].$value['description'];
		//die();
	$i++;
	}

*/
?>